package com.love.cloud.common.redis.queue.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author hongdongqu
 */
@Data
@ConfigurationProperties("sos.redis.stream.queue")
@Configuration
public class RedisStreamQueueProperties {
    /**
     * block读取超时时间(单位秒)
     */
    private Integer pollTimeoutSeconds=3;
    /**
     * 每次拉取的数量
     */
    private Integer batchSize=1;

}
